package org.nanotek.lucene.util;

import java.io.Serializable;
import java.util.Date;

import org.nanotek.Base;
import org.nanotek.lucene.preference.PreferenceSet;

@SuppressWarnings("serial")
public abstract class BaseTask<T extends Serializable> implements Base<T>, Runnable {
	
	public abstract T getTaskId();
	
	public BaseTask<T> getTask(){ 
		return this;
	}
	
	public abstract String getTaskName(); 
	
	public abstract Date getTaskDate();
	
	public abstract PreferenceSet getTaskPreferenceSet();
	
}